#if !defined(AFX_SUPPLYINFODLG_H__CDA09C07_AB66_41BC_B5B7_D27C5F7FA587__INCLUDED_)
#define AFX_SUPPLYINFODLG_H__CDA09C07_AB66_41BC_B5B7_D27C5F7FA587__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SupplyInfoDlg.h : header file
#include "Resource.h"
//

/////////////////////////////////////////////////////////////////////////////
// CSupplyInfoDlg dialog

class CSupplyInfoDlg : public CDialog
{
// Construction
public:
	CSupplyInfoDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSupplyInfoDlg)
	enum { IDD = IDD_DIALOG_SUPPLYINFO };
	CButton	m_ctlbtnGoDemand;
	CListCtrl	m_ctlSupplyNumberList;
	CString	m_strFind;
	long	m_lSupplyNumber;
	CString	m_strSupplyPerson;
	CString	m_strSupplySource;
	CString	m_strSupplyTitle;
	CString	m_strSupplyContent;
	COleDateTime	m_tSupplyDate;
	COleDateTime	m_tSupplyDateF;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSupplyInfoDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSupplyInfoDlg)
	afx_msg void OnAdd();
	afx_msg void OnDel();
	afx_msg void OnEdit();
	afx_msg void OnFind();
	afx_msg void OnClose();
	afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
	virtual BOOL OnInitDialog();
	afx_msg void OnDate();
	afx_msg void OnNextpage();
	afx_msg void OnPrevpage();
	afx_msg void OnTop();
	afx_msg void OnRefresh();
	afx_msg void OnGodemand();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	_ConnectionPtr m_pConnection;
	_RecordsetPtr m_pRecordset;
//	_CommandPtr m_pCommand;
	void Openset();
	void Closeset();
	void GetEditValue();
	void SetEditValue();
	void SetListColumn();
	void GetListValue(int j);
	void LinkListEdit(int i);

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SUPPLYINFODLG_H__CDA09C07_AB66_41BC_B5B7_D27C5F7FA587__INCLUDED_)
